//Random generator
//$Id: random.h 140 2009-09-03 11:33:57Z Oleg.Bulychov $
#pragma once

class uniform_random
{
    int tid_;
public:
    explicit uniform_random(int thread_id): tid_(thread_id)
    {}

    unsigned next_UInt(unsigned uRange);//:[0..uRange)

    double   next_Double();//:[0..1)

    static void randomize(int max_threads, unsigned uSeed);
};

//EOF!
